package com.sc.sc250601.cook.service;

import com.sc.sc250601.cook.pojo.Comment;
import com.sc.sc250601.cook.pojo.CommentDTO;

import javax.xml.soap.Text;
import java.util.List;

public interface CommentService {
    List<Comment> selectAllByTidAndType(Long tid,Integer type);

    List<CommentDTO> getComments(Integer targetType, Long targetId);
    int addComment( Comment comment);
}
